﻿using AutoMapper;
using B.S.Traceability.Domain;
using B.S.Traceability.Read.API;
using B.S.Traceability.Read.API.Application.Commends.Company;
using B.S.Traceability.Read.API.Application.Commends.Farm;
using B.S.Traceability.Read.API.Dto;


namespace B.S.Traceability.Read.API
{
    public class AutoMapperFilePro : Profile
    {
        public AutoMapperFilePro()
        {
          
            CreateMap<ProductsShoopDtos, Products>().ReverseMap();
            CreateMap<GetFarmsByBatchIdCommends, Products>().ReverseMap();


            CreateMap<ProductFarmsDto, Farms>().ReverseMap();
            CreateMap<GetFirmsCommends, Companys>().ReverseMap();


        }
    }
}